<extend name="Public/base"/>
<block name="head">
    <style>
        .box  .box-header .unit{
            font-size: 14px;line-height: 26px;
        }
        .table-title {
            float:left;
            margin-left:20px;
        }
        .box-header .box-header-right {
                margin-top:20px;
        }
        @media (max-width: 768px){
            h3 {
                font-size:20px;
            }
            .table-title {
                float:none;
                margin-top:10px;
            }
            .table-title label,.box-pane label{
                margin-right:15px;
            }
            #member_profit_report_form .exprot {
                display:none;
            }
            #member_profit_report_form .unit {
                float:right;
                margin-top: -33px;
            }
            #member_liabilities_report_form .exprot {
                display:none;
            }
            #member_liabilities_report_form .unit {
                float:right;
                margin-top: -33px;
            }
            #balance_sheet_form .exprot {
                display:none;
            }
            #balance_sheet_form .unit {
                float:right;
                margin-top: -33px;
            }
        }
    </style>

</block>
<block name="body">
    <style>
        #sales_expenses_report th,#profit_report th{text-align: center}
    </style>
    <section class="content">
        <?php if (LANG_SET == 'en-us'): ?>
        <div class="row"><div class="col-lg-12"><p class="text-red">The current exchange rate is <?php echo date('m',strtotime('-1 month')) ?></p></div></div>
        <?php endif; ?>
        <div class="row">
        <?php
            foreach ($reportlist as $report):
        ?>
            <?php
                switch($report['report_name']) {
                    case 'profit_report':
                ?>
                <include file="profit_report" />
                <?php break;
                    case 'sales_expenses_report':
                ?>
                <include file="sales_expenses_report" />
                <?php break;
                    case 'center_const_report':
                ?>
                <include file="center_const_report" />
                <?php break;
                    case 'balance_sheet':
                ?>
                <include file="balance_sheet" />
                <?php break;
                  case 'member_profit':
                ?>
                <include file="member_profit" />
                <?php break;
                }
             ?>

        <?php endforeach; ?>
        </div>
    </section>
    
</block>
